package com.example.test_demo.aopProxy;

public class Test {
	public static  void main(String[] args) {
		UserService impl = new UserServiceImpl();
		AppleService impl2 = new AppleServiceImpl();
		MyProxy<UserService> myProxy = new MyProxy<UserService>();
		MyProxy<AppleService> myProxy2 = new MyProxy<AppleService>();
		myProxy.proxyService(impl).eat("ƻ��");;
		myProxy2.proxyService(impl2).foot("li");;
	}
}
